#pragma once

#ifndef __gameconstants
#include "gameconstants.h"
#define __gameconstants
#endif

#include "enemy.h"
#include <ClanLib/core.h>

// level entity klasse, in der die leveldaten gespeichert werden

class Level
{
public:
	Level(int width, int height);
	~Level(void);
	char getTile(int x, int y);
	char getNearestTile(float x, float y);
	void setTile(int x, int y, char data);
	void printLevelToConsole();
	int getStartX(void);
	int getStartY(void);

	int getHeight();
	int getWidth();
private:

	int width;
	int height;
	char* levelData;
	int startX;
	int startY;
};
